function showhidden7()
{
	var hidden7=document.getElementsByClassName("hidden7");
	hidden7[0].style.display="block";
}
function hidden7()
{
	var hidden7=document.getElementsByClassName("hidden7"); 
	hidden7[0].style.display="none";
}
function show_hidden6()
{
	var hidden6=document.getElementsByClassName("hidden6");
	hidden6[0].style.display="block";
}
function hidden6()
{
	var hidden6=document.getElementsByClassName("hidden6"); 
	hidden6[0].style.display="none";
}
function hidden1()
{
	var hidden1=document.getElementsByClassName("hidden1"); 
	hidden1[0].style.display="none";
	
}
function showhidden1()
{
	var hidden1=document.getElementsByClassName("hidden1");
	hidden1[0].style.display="block";
}
//function show_parameter_hidden()
//{
//	var show_parameter_hidden=document.getElementsByClassName("parameter_hidden");
//	show_parameter_hidden[0].style.display="block";
//}
//function hidden_parameter_hidden()
//{
//	var show_parameter_hidden=document.getElementsByClassName("parameter_hidden"); 
//	show_parameter_hidden[0].style.display="none";
//}
//function change_text()
//{
//	var parameter_hidden_button_span=document.getElementById("parameter_hidden_button_span");
//	parameter_hidden_button_span.innerText="隐藏更多规格参数 ∧";
//}
function upscrolling()
{
//	var s=0;
	var hidden_photos=document.getElementsByClassName("hidden_photos");
	hidden_photos[0].style.marginTop=-247+"px";
//	s+=1;
//	for(i=0;i<)
//	allColor[i].style.top==-300+"px"
}

function downscrolling()
{
	var hidden_photos=document.getElementsByClassName("hidden_photos");
	hidden_photos[0].style.marginTop=+0+"px";
}
function turn_to_photo(imgIndex)
{
	var hidden_photos=document.getElementsByClassName("hidden_photos");
	var photos=document.getElementsByClassName("photos");
	var img=photos[0].getElementsByTagName("img");
	var miniphotos=hidden_photos[0].getElementsByTagName("img");
	for(i=0;i<img.length;i++)
	{
//		img[i].style.display="none";
		miniphotos[i].style.borderColor="#DADADA";
	}
	photos[0].style.marginLeft=-((imgIndex-1)*811)+"px";
//	img[imgIndex-1].style.display="block";配合display none也可实现效果
	miniphotos[imgIndex-1].style.borderColor="#000000";
}











